package com.hqyj.dao;

import com.hqyj.pojo.Department;
import com.hqyj.pojo.Employee;

import java.util.List;

public interface DepartmentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Department record);

    int insertSelective(Department record);

    Department selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Department record);

    int updateByPrimaryKey(Department record);

//    一对多查询
    List<Department> queryByOneAndMore();
}